

package net.betou.trade.main.manager;

import java.util.List;

import net.betou.common.page.Pagination;
import net.betou.trade.entity.main.AgentAndAdmins;
import net.betou.trade.entity.main.SuggAnswer;

/**
 * 
 * @author O.Y.
 */
public interface SuggAnswerMng{

	public SuggAnswer save( SuggAnswer bean, AgentAndAdmins admin );
	
	public SuggAnswer deleteById( Integer id );
	
	public SuggAnswer [ ] deleteByIds( Integer [ ] ids );
	
	public int deleteBySuggIds( Integer [ ] ids );
	
	public SuggAnswer update( SuggAnswer bean );
	
	public SuggAnswer findById( Integer id );
	
	public Pagination getPage( AgentAndAdmins admin, String searchProperty, String searchValue, String orderProperty, String orderDirection, int pageNo, int pageSize );
	
	public List<SuggAnswer> findOnSugg( Integer id );
	
	
}
